/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmachine.logic;

/**
 *
 * @author oiiv2253
 */
public class TicketDescription {

    private int id;
    private float basePrice;
    private String name;
    private String pricingStrategyClass;

	public TicketDescription(int id, float basePrice, String name,
			String pricingStrategyClass) {
		super();
		this.id = id;
		this.basePrice = basePrice;
		this.name = name;
		if (pricingStrategyClass.equals("")){
			this.pricingStrategyClass ="ticketmachine.logic.PriceCalculatorNormal";
		}else{
			this.pricingStrategyClass = pricingStrategyClass;
		}	
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public float getBasePrice() {
		return basePrice;
	}

	public void setBasePrice(float basePrice) {
		this.basePrice = basePrice;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPricingStrategyClass() {
		return pricingStrategyClass;
	}

	public void setPricingStrategyClass(String pricingStrategyClass) {
		this.pricingStrategyClass = pricingStrategyClass;
	}
	
	

}
